import type { categoryTopItem } from "@/types/category";
import { http } from "@/utils/http";

export const getCategoryTopAPI = () => {
    return http<categoryTopItem[]>({
        method: "GET",
        url: "/category/top"
    })
}